package facade;

import jdk.swing.interop.SwingInterOpUtils;

/**
 * @author : DuJiabao
 * @Date : 2021/3/3 19:37
 * @Project : design-pattern
 * @File : null.java
 * @Desc :
 */
public enum DVDPlayer {
  INSTANCE;

  public static DVDPlayer getInstance() {
    return INSTANCE;
  }

  public void on() {
    System.out.println("DVD on");
  }

  public void off() {
    System.out.println("DVD off");
  }

  public void pause() {
    System.out.println("DVD pause");
  }

  public void play() {
    System.out.println("DVD is playing");
  }
}
